﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>

  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Interface IIntegrationMethod </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Interface IIntegrationMethod ">
    <meta name="generator" content="docfx ">
  
    <link rel="shortcut icon" href="../api/images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"> 
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    <script type="text/javascript" async="" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML"></script>
  
  
  
  </head>  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>

        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>

              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../api/images/favicon.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>

        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">

        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="SpiceSharp.Simulations.IIntegrationMethod">



  <h1 id="SpiceSharp_Simulations_IIntegrationMethod" data-uid="SpiceSharp.Simulations.IIntegrationMethod" class="text-break">Interface IIntegrationMethod</h1>
  <div class="markdown level0 summary"><p>An interface describing an integration method.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="SpiceSharp.html">SpiceSharp</a>.<a class="xref" href="SpiceSharp.Simulations.html">Simulations</a></h6>
  <h6><strong>Assembly</strong>: SpiceSharp.dll</h6>
  <h5 id="SpiceSharp_Simulations_IIntegrationMethod_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IIntegrationMethod : ISimulationState</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_BaseTime_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.BaseTime*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_BaseTime" data-uid="SpiceSharp.Simulations.IIntegrationMethod.BaseTime">BaseTime</h4>
  <div class="markdown level1 summary"><p>Gets the base timepoint in seconds from which the current timepoint is being probed.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">double BaseTime { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
        <td><p>The base time.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_MaxOrder_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.MaxOrder*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_MaxOrder" data-uid="SpiceSharp.Simulations.IIntegrationMethod.MaxOrder">MaxOrder</h4>
  <div class="markdown level1 summary"><p>Gets the maximum order of the integration method.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">int MaxOrder { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><p>The maximum order.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Order_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Order*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Order" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Order">Order</h4>
  <div class="markdown level1 summary"><p>Gets or sets the current order of the integration method.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">int Order { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><p>The current order.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Slope_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Slope*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Slope" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Slope">Slope</h4>
  <div class="markdown level1 summary"><p>Gets the derivative factor of any quantity that is being derived
by the integration method.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">double Slope { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
        <td><p>The slope.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Time_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Time*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Time" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Time">Time</h4>
  <div class="markdown level1 summary"><p>Gets the currently probed timepoint in seconds.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">double Time { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
        <td><p>The current time.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Accept_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Accept*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Accept" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Accept">Accept()</h4>
  <div class="markdown level1 summary"><p>Accepts a solution at the current timepoint.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Accept()</code></pre>
  </div>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_CreateDerivative_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.CreateDerivative*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_CreateDerivative_System_Boolean_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.CreateDerivative(System.Boolean)">CreateDerivative(bool)</h4>
  <div class="markdown level1 summary"><p>Creates a derivative.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">IDerivative CreateDerivative(bool track = true)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><span class="parametername">track</span></td>
        <td><p>If set to <code>true</code>, the integration method will use this state to limit truncation errors.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.IDerivative.html">IDerivative</a></td>
        <td><p>The derivative.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_CreateIntegral_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.CreateIntegral*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_CreateIntegral_System_Boolean_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.CreateIntegral(System.Boolean)">CreateIntegral(bool)</h4>
  <div class="markdown level1 summary"><p>Creates an integrator.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">IIntegral CreateIntegral(bool track = true)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><span class="parametername">track</span></td>
        <td><p>If set to <code>true</code>, the integration method will use this state to limit truncation errors.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.IIntegral.html">IIntegral</a></td>
        <td><p>The integrator.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Evaluate_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Evaluate*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Evaluate_System_Double_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Evaluate(System.Double)">Evaluate(double)</h4>
  <div class="markdown level1 summary"><p>Evaluates the current solution at the probed timepoint. If the solution is invalid,
the analysis should roll back and try again.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">bool Evaluate(double maxTimestep)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
        <td><span class="parametername">maxTimestep</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
        <td><p><code>true</code> if the current solution is a valid solution; otherwise, <code>false</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
        <td><p>Thrown if <code class="paramref">maxTimestep</code> is not positive.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_GetPreviousSolution_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.GetPreviousSolution*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_GetPreviousSolution_System_Int32_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.GetPreviousSolution(System.Int32)">GetPreviousSolution(int)</h4>
  <div class="markdown level1 summary"><p>Gets a previous solution used by the integration method. An index of 0 indicates the last accepted solution.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">IVector&lt;double&gt; GetPreviousSolution(int index)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">index</span></td>
        <td><p>The number of points to go back.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Algebra.IVector-1.html">IVector</a>&lt;<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>&gt;</td>
        <td><p>The previous solution.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_GetPreviousTimestep_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.GetPreviousTimestep*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_GetPreviousTimestep_System_Int32_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.GetPreviousTimestep(System.Int32)">GetPreviousTimestep(int)</h4>
  <div class="markdown level1 summary"><p>Gets a previous timestep. An index of 0 indicates the current timestep.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">double GetPreviousTimestep(int index)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
        <td><span class="parametername">index</span></td>
        <td><p>The number of points to go back.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
        <td><p>The previous timestep.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Initialize_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Initialize*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Initialize" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Initialize">Initialize()</h4>
  <div class="markdown level1 summary"><p>Initializes the integration method using the allocated biasing state.
At this point, all entities should have received the chance to allocate and register integration states.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Initialize()</code></pre>
  </div>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Prepare_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Prepare*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Prepare" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Prepare">Prepare()</h4>
  <div class="markdown level1 summary"><p>Prepares the integration method for calculating the next timepoint.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Prepare()</code></pre>
  </div>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Probe_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Probe*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Probe" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Probe">Probe()</h4>
  <div class="markdown level1 summary"><p>Probes a new timepoint.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Probe()</code></pre>
  </div>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_RegisterState_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.RegisterState*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_RegisterState_SpiceSharp_Simulations_IIntegrationState_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.RegisterState(SpiceSharp.Simulations.IIntegrationState)">RegisterState(IIntegrationState)</h4>
  <div class="markdown level1 summary"><p>Registers an integration state with the integration method.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void RegisterState(IIntegrationState state)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="SpiceSharp.Simulations.IIntegrationState.html">IIntegrationState</a></td>
        <td><span class="parametername">state</span></td>
        <td><p>The integration state.</p>
</td>
      </tr>
    </tbody>
  </table>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Reject_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Reject*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Reject" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Reject">Reject()</h4>
  <div class="markdown level1 summary"><p>Rejects the last probed timepoint as a valid solution. This method can be called if no solution could be found (eg. due to non-convergence).</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Reject()</code></pre>
  </div>
  <a id="SpiceSharp_Simulations_IIntegrationMethod_Truncate_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Truncate*"></a>
  <h4 id="SpiceSharp_Simulations_IIntegrationMethod_Truncate_System_Double_" data-uid="SpiceSharp.Simulations.IIntegrationMethod.Truncate(System.Double)">Truncate(double)</h4>
  <div class="markdown level1 summary"><p>Truncate the current timestep.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="declaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">void Truncate(double maxTimestep)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
        <td><span class="parametername">maxTimestep</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="exceptions">Exceptions</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Condition</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
        <td><p>Thrown if <code class="paramref">maxTimestep</code> is not positive.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="SpiceSharp.Utility.html#SpiceSharp_Utility_ThrowIfNull__1___0_System_String_">Utility.ThrowIfNull&lt;T&gt;(T, string)</a>
  </div>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="SpiceSharp.Simulations.ISimulationState.html">ISimulationState</a></div>
  </div>

</article>
          </div>

          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In this article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>

      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
      
      <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>

    <script type="text/javascript" src="../styles/docfx.vendor.min.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
